package com.itheima.reggie.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.dto.SetmealDto;
import com.itheima.reggie.entity.Setmeal;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface SetmealMapper extends BaseMapper<Setmeal> {
    /**
     * 根据sql分页查询
     * @Author: Pan Rundong
     * @Date: 2023-02-02 14:19
     * @Greet2u:  （O｀ 3′O）~~♡
     * @param dtoPage
     * @param name
     * @return void
     */
    Page<SetmealDto> pageBySql(Page<SetmealDto> dtoPage, String name);
}
